package com.exam.itempool.model;

import java.util.Date;

import com.exam.role.model.Teacher;

/**
 * Proclaim entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Proclaim implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Teacher teacher;
	private String title;
	private String content;
	private String flag;
	private Date createtime;

	// Constructors

	/** default constructor */
	public Proclaim()
	{
	}

	/** minimal constructor */
	public Proclaim(String flag)
	{
		this.flag = flag;
	}

	/** full constructor */
	public Proclaim(Teacher teacher, String title, String content, String flag, Date createtime)
	{
		this.teacher = teacher;
		this.title = title;
		this.content = content;
		this.flag = flag;
		this.createtime = createtime;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public String getTitle()
	{
		return this.title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public String getContent()
	{
		return this.content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public String getFlag()
	{
		return this.flag;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	public Date getCreatetime()
	{
		return this.createtime;
	}

	public void setCreatetime(Date createtime)
	{
		this.createtime = createtime;
	}

}